(function() {
    'use strict';
    
    const STYLES = {
        base: `
            font-family: Arial Black;
            font-weight: 900;
            border: 4px solid white;
            border-radius: 15px;
           padding: 20px;
            text-shadow: 3px 3px 0 #ffffff, 5px 5px 0 #ff0000;
            background: linear-gradient(-225deg, #2CD8D5 0%, #C5C1FF 56%, #FFBAC3 100%);
            -webkit-text-stroke: 2px white;
        `,
        title: `font-size: 3em; color: #ff0000;`,
        subtitle: `
            color: red;
            font-size: 1.5em;
            padding-top: 10px;
            display: block;
            text-decoration: underline wavy red;
        `,
        link: `
            color: red;
            font-size: 1.2em;
            padding-top: 15px;
            display: block;
            text-decoration: underline;
            cursor: pointer;
        `
    };

    const MESSAGE = `%c⚠️ 安全警告 ⚠️%c\n%c这里复制的内容可能导致账号出现风险！\n%c网络违法犯罪举报网站: https://cyberpolice.mps.gov.cn/#/`;

    function showWarning() {
        console.warn(
            MESSAGE,
            `${STYLES.base}${STYLES.title}`,
            "",
            STYLES.subtitle,
            STYLES.link
        );
        setTimeout(showWarning, 1000);
    }

    showWarning();
})();